<?php



class DocumentoRenovacionMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.DocumentoRenovacionMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('sindes');

		$tMap = $this->dbMap->addTable('documento_renovacion');
		$tMap->setPhpName('DocumentoRenovacion');

		$tMap->setUseIdGenerator(true);

		$tMap->addPrimaryKey('CP_DOCUMENTO_RENOVACION', 'CpDocumentoRenovacion', 'string', CreoleTypes::BIGINT, true, null);

		$tMap->addColumn('CF_RENOVACION', 'CfRenovacion', 'string', CreoleTypes::BIGINT, true, null);

		$tMap->addColumn('CF_DOCUMENTO', 'CfDocumento', 'string', CreoleTypes::BIGINT, true, null);

		$tMap->addColumn('ESTATUS', 'Estatus', 'string', CreoleTypes::CHAR, true, 1);

	} 
} 